﻿using UnityEngine;
using System.Collections;

public class BulletScripts : MonoBehaviour
{
		public float speed = 5f;
		// Use this for initialization
		void Start ()
		{
				Destroy (gameObject, 1.5f);
		}
	
		// Update is called once per frame
		void Update ()
		{
				//	transform.position += Vector3.right * speed * Time.deltaTime;
		}

		void OnCollisionEnter2D (Collision2D other)
		{
				//if (other.gameObject.tag != "bullet")
				//		Destroy (gameObject);
		}
}
